<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    
    let str = 'asjkdfjalskdjf'
    // 以数组方式去解析
    // let [a,b,c] = str;
    
    // 以对象方式去解析
    // const {'0':a,'1':b,'2':c} = str;

    // 字符串中的方法
    const {'0':a,'1':b,'2':c,length:len,toString:stri} = str;
    console.log(a,b,c,len,stri);
</script>